<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Fetch next key</title>
<link media="all" rel="stylesheet" type="text/css" href="styles/03e73060321a0a848018724a6c83de7f-theme-base.css" />
<link media="all" rel="stylesheet" type="text/css" href="styles/03e73060321a0a848018724a6c83de7f-theme-medium.css" />

 </head>
 <body class="docs"><div class="navbar navbar-fixed-top">
  <div class="navbar-inner clearfix">
    <ul class="nav" style="width: 100%">
      <li style="float: left;"><a href="function.dba-list.html">« dba_list</a></li>
      <li style="float: right;"><a href="function.dba-open.html">dba_open »</a></li>
    </ul>
  </div>
</div>
<div id="breadcrumbs" class="clearfix">
  <ul class="breadcrumbs-container">
    <li><a href="index.html">PHP Manual</a></li>
    <li><a href="ref.dba.html">DBA 函数</a></li>
    <li>Fetch next key</li>
  </ul>
</div>
<div id="layout">
  <div id="layout-content"><div id="function.dba-nextkey" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">dba_nextkey</h1>
  <p class="verinfo">(PHP 4, PHP 5, PHP 7, PHP 8)</p><p class="refpurpose"><span class="refname">dba_nextkey</span> &mdash; <span class="dc-title">Fetch next key</span></p>

 </div>
 <div class="refsect1 description" id="refsect1-function.dba-nextkey-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>dba_nextkey</strong></span>(<span class="methodparam"><span class="type">resource</span> <code class="parameter">$dba</code></span>): <span class="type"><span class="type">string</span>|<span class="type"><span class="type false">false</span></span></span></div>

  <p class="para rdfs-comment">
   <span class="function"><strong>dba_nextkey()</strong></span> returns the next key of the database
   and advances the internal key pointer.
  </p> 
 </div>

 <div class="refsect1 parameters" id="refsect1-function.dba-nextkey-parameters">
  <h3 class="title">参数</h3>
  <p class="para">
   <dl>
    
     <dt>
<code class="parameter">dba</code></dt>

     <dd>

      <p class="para">
       The database handler, returned by <span class="function"><a href="function.dba-open.html" class="function">dba_open()</a></span> or
       <span class="function"><a href="function.dba-popen.html" class="function">dba_popen()</a></span>.
      </p>
     </dd>

    
   </dl>

  </p>
 </div>

 <div class="refsect1 returnvalues" id="refsect1-function.dba-nextkey-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   Returns the key on success 或者在失败时返回 <strong><code>false</code></strong>. 
  </p>
 </div>

 <div class="refsect1 seealso" id="refsect1-function.dba-nextkey-seealso">
  <h3 class="title">参见</h3>
  <p class="para">
   <ul class="simplelist">
    <li class="member"><span class="function"><a href="function.dba-firstkey.html" class="function" rel="rdfs-seeAlso">dba_firstkey()</a> - Fetch first key</span></li>
    <li class="member"><span class="function"><a href="function.dba-key-split.html" class="function" rel="rdfs-seeAlso">dba_key_split()</a> - Splits a key in string representation into array representation</span></li>
    <li class="member">Example 2 in the <a href="dba.examples.html" class="link">DBA examples</a></li>
   </ul>
  </p>
 </div>

</div></div></div></body></html>